package com.qianli.cashmama.trade.domain.model;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: pavan
 * Date: 2020/3/25
 * Time: 下午4:30
 */
public class DeductFlow {

    private Long id;
    /**
     * 创建时间
     */
    private Date gmtCreate;
    /**
     *交易编号
     */
    private String tradeNo;
    /**
     *账单编号
     */
    private String billNo;
    /**
     *抵扣金额
     */
    private BigDecimal discountCapital;
    /**
     *操作人
     */
    private String operator;
    /**
     *入账时间
     */
    private Date accountedTime;
    /**
     *有效期
     */
    private Date expirationDate;

    public Long getId() {
        return id;
    }

    public DeductFlow setId(Long id) {
        this.id = id;
        return this;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public DeductFlow setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public DeductFlow setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public String getBillNo() {
        return billNo;
    }

    public DeductFlow setBillNo(String billNo) {
        this.billNo = billNo;
        return this;
    }

    public BigDecimal getDiscountCapital() {
        return discountCapital;
    }

    public DeductFlow setDiscountCapital(BigDecimal discountCapital) {
        this.discountCapital = discountCapital;
        return this;
    }

    public String getOperator() {
        return operator;
    }

    public DeductFlow setOperator(String operator) {
        this.operator = operator;
        return this;
    }

    public Date getAccountedTime() {
        return accountedTime;
    }

    public DeductFlow setAccountedTime(Date accountedTime) {
        this.accountedTime = accountedTime;
        return this;
    }

    public Date getExpirationDate() {
        return expirationDate;
    }

    public DeductFlow setExpirationDate(Date expirationDate) {
        this.expirationDate = expirationDate;
        return this;
    }
}
